package com.example.mylibrary;

/**
 * 类描述：
 * 作者：郑朝军 on 2019/4/19
 * 邮箱：1250393285@qq.com
 * 公司：武汉智博创享科技有限公司
 * 修改人：郑朝军 on 2019/4/19
 * 修改备注：
 */
public class Factory
{
    private static Factory m_Instance;

    /**
     * 端子面板
     */
    private TestDzmbInterface m_testInterface;

    /**
     * 综合查询
     */
    private TestQueryInterface m_testQueryInterface;

    public static Factory getInstance()
    {
        if (m_Instance == null)
        {
            m_Instance = new Factory();
        }

        return m_Instance;
    }

    public void setTestInterface(TestDzmbInterface testInterface)
    {
        m_testInterface = testInterface;
    }

    public TestDzmbInterface getTestInterface()
    {
        return m_testInterface;
    }

    public TestQueryInterface getTestQueryInterface()
    {
        return m_testQueryInterface;
    }

    public void setTestQueryInterface(TestQueryInterface testQueryInterface)
    {
        m_testQueryInterface = testQueryInterface;
    }
}
